package com.ruoyi.business.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.business.domain.HurtDoctorMessage;

/**
 * 医师信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-04-17
 */
public interface HurtDoctorMessageMapper
{
    /**
     * 查询医师信息
     *
     * @param id 医师信息主键
     * @return 医师信息
     */
    public HurtDoctorMessage selectHurtDoctorMessageById(Long id);

    /**
     * 查询医师信息列表
     *
     * @param hurtDoctorMessage 医师信息
     * @return 医师信息集合
     */
    public List<HurtDoctorMessage> selectHurtDoctorMessageList(HurtDoctorMessage hurtDoctorMessage);

    /**
     * 新增医师信息
     *
     * @param hurtDoctorMessage 医师信息
     * @return 结果
     */
    public int insertHurtDoctorMessage(HurtDoctorMessage hurtDoctorMessage);

    /**
     * 修改医师信息
     *
     * @param hurtDoctorMessage 医师信息
     * @return 结果
     */
    public int updateHurtDoctorMessage(HurtDoctorMessage hurtDoctorMessage);

    /**
     * 删除医师信息
     *
     * @param id 医师信息主键
     * @return 结果
     */
    public int deleteHurtDoctorMessageById(Long id);

    /**
     * 批量删除医师信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHurtDoctorMessageByIds(Long[] ids);

    /**
     * 获取医师列表
     */
    List<Map<String,Object>> getDoctorList(String doctorName);

    /**
     * 获取医师详情
     * @return
     */
    Map<String,Object> getDoctorDetail(Long doctorId);

    /**
     * 医师修改信息
     * @param hurtDoctorMessage
     * @return
     */
    int updateDoctorMessage(HurtDoctorMessage hurtDoctorMessage);
}
